using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;using THSERP.BusinessEntities;using THSERP.BaseProvider;

namespace THSERP.Modules.Receipt.UI
{
	/// <summary>
	/// Summary description for DMRC100
	/// </summary>
	public partial class DMRC100 : THSERPScreen
	{

		public DMRC100()
		{
			//
			// Required designer variable
			//
			InitializeComponent();
		}

        private void fld_lkeFK_HREmployeeID_Validated(object sender, EventArgs e)
        {
            ((Modules.Receipt.ReceiptModule)this.Module).Staff_Validated(sender, e);
        }

        private void fld_lkeFK_ICProductID_Validated(object sender, EventArgs e)
        {
            ((Modules.Receipt.ReceiptModule)this.Module).THSProductLookupEdit_Validated(sender,e);
        }

        private void fld_btnButton2_Click(object sender, EventArgs e)
        {
            ((Modules.Receipt.ReceiptModule)this.Module).GenerateItemsToReceiptItemsList();
        }

        private void fld_btnButton3_Click(object sender, EventArgs e)
        {
            ((Modules.Receipt.ReceiptModule)this.Module).ChangeItemFromReceiptItemsList();
        }

        private void fld_btnButton4_Click(object sender, EventArgs e)
        {
            ((Modules.Receipt.ReceiptModule)this.Module).DeleteItemFromReceiptItemsList();
        }

        private void fld_txtICReceiptShippingFees_Validated(object sender, EventArgs e)
        {
            ((Modules.Receipt.ReceiptModule)this.Module).ChangeFee();
        }

        private void fld_btnAddItemToReceiptItemsList_Click(object sender, EventArgs e)
        {
            ((Modules.Receipt.ReceiptModule)this.Module).AddItemToReceiptItemsList();
        }

        private void fld_txtICReceiptInvoiceInNo_EditValueChanged(object sender, EventArgs e)
        {

        }
	}
}
